using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using TONLI.TJOA.Domain;
using TONLI.TJOA.Common;
using System.Collections.Generic;
using DevExpress.Web.ASPxEditors;
using TONLI.Domain.RightManager;

namespace TONLI.TJOA.Anquan
{
    public partial class AQK_KHB_LJ_V : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                
                string suid = Request["SUID"];
                if (suid != null)
                {
                    Text1.Value = suid;
                    TJOA_AQK_KHB_LJ ta = DataService.BaseService().GetOneByKey<TJOA_AQK_KHB_LJ>(suid);
                    Label1.Text = ta.JCBM;
                    Label2.Text = ta.ZRDW;
                    Label3.Text = ta.JCRY;
                    Label4.Text = ta.ZW;
                    Label5.Text = ta.COL1;

                    Label6.Text = ta.SBSJ.ToString();
                    Label7.Text = ta.FSSJ.ToString("yyyy-MM-dd");
                    Label8.Text = ta.WTFL;
                    Label9.Text = ta.WTJB;
                    Label10.Text = ta.COL2;

                    Label11.Text = ta.RY1;
                    Label12.Text = ta.ZW1;
                    Label13.Text = ta.JE1.ToString("########.00");
                    Label14.Text = ta.GS1;
                    Label15.Text = ta.DY1;

                    Label16.Text = ta.RY2;
                    Label17.Text = ta.ZW2;
                    Label18.Text = ta.JE2.ToString("########.00");
                    Label19.Text = ta.GS2;
                    Label20.Text = ta.DY2;

                    Label21.Text = ta.RY3;
                    Label22.Text = ta.ZW3;
                    Label23.Text = ta.JE3.ToString("########.00");
                    Label24.Text = ta.GS3;
                    Label25.Text = ta.DY3;

                    Label26.Text = ta.TEXT2;
                    Label27.Text = ta.XXBM;
                    Label28.Text = ta.RYFL;

                    Label29.Text = ta.TEXT1;
                    Label30.Text = ta.TEXT4;
                    Label31.Text = ta.TEXT3;
                    Label32.Text = ta.TEXT5;

                }
     
            }
        }

        protected void ASPxButton1_Click(object sender, EventArgs e)
        {
           
        }

        




        protected void ASPxButton2_Click(object sender, EventArgs e)
        {
            
        }




    }
}
